package com.antler.smt.response.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 订单列表实体
 *
 * @author zhangyi
 * @date 2018/4/28 9:56
 */
public class OrderManageListResp {

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id", name = "orderId")
    private Long orderId;

    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号", name = "orderNumber")
    private String orderNumber;

    /**
     * 订单时间（下单时间）
     */
    @ApiModelProperty(value = "订单时间（下单时间）", name = "orderTime")
    private Date orderTime;

    /**
     * 项目名称（需求名称）
     */
    @ApiModelProperty(value = "项目名称（需求名称）", name = "name")
    private String name;

    /**
     * 采购商公司名称
     */
    @ApiModelProperty(value = "采购商公司名称", name = "companyName")
    private String companyName;

    /**
     * 服务商公司名称
     */
    @ApiModelProperty(value = "服务商公司名称", name = "supplierCompanyName")
    private String supplierCompanyName;

    /**
     * 采购商id
     */
    @ApiModelProperty(value = "采购商id", name = "purchaserId")
    private String purchaserId;

    /**
     * 对接的项目专员的真实姓名
     */
    @ApiModelProperty(value = "对接的项目专员的真实姓名", name = "realName")
    private String realName;

    /**
     * 服务商的id
     */
    @ApiModelProperty(value = "服务商的id", name = "supplierId")
    private Long supplierId;


    /**
     * 展示给服务商的价格
     */
    @ApiModelProperty(value = "展示给服务商的价格", name = "priceToSupplier")
    private Long priceToSupplier;


    /**
     * 展示给采购商的价格
     */
    @ApiModelProperty(value = "展示给采购商的价格", name = "priceToPurchaser")
    private Long priceToPurchaser;

    /**
     * 订单支付方式
     */
    @ApiModelProperty(value = "订单支付方式", name = "payStyle")
    private Integer payStyle;

    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态", name = "orderStatus")
    private Integer orderStatus;

    /**
     * 需求id
     */
    @ApiModelProperty(value = "需求id", name = "requirementId")
    private Long requirementId;

    /**
     * 给采购商发票（1给了0没给）
     */
    private Integer receiptToPurchaser;

    /**
     * 服务商给我们发票（1给了0没给）
     */
    private Integer supplierReceipt;

    /**
     * 和采购商签合同（1签了0没签）
     */
    private Integer agreement;

    /**
     * 来料验收，采购商有没有给我们（1给了0没给）
     */
    private Integer incomingAcceptance;

    /**
     * 服务商（项目专员）确定其领料验收（1给了0没给）
     */
    private Integer materialAcceptance;

    /**
     * 服务商和我们签合同（1签了0没签）
     */
    private Integer agreementToSupplier;

    /**
     * 商务专员id
     */
    private Long businessAffairsUserId;

    public Long getBusinessAffairsUserId() {
        return businessAffairsUserId;
    }

    public void setBusinessAffairsUserId(Long businessAffairsUserId) {
        this.businessAffairsUserId = businessAffairsUserId;
    }

    public Integer getAgreementToSupplier() {
        return agreementToSupplier;
    }

    public void setAgreementToSupplier(Integer agreementToSupplier) {
        this.agreementToSupplier = agreementToSupplier;
    }

    public Integer getReceiptToPurchaser() {
        return receiptToPurchaser;
    }

    public void setReceiptToPurchaser(Integer receiptToPurchaser) {
        this.receiptToPurchaser = receiptToPurchaser;
    }

    public Integer getSupplierReceipt() {
        return supplierReceipt;
    }

    public void setSupplierReceipt(Integer supplierReceipt) {
        this.supplierReceipt = supplierReceipt;
    }

    public Integer getAgreement() {
        return agreement;
    }

    public void setAgreement(Integer agreement) {
        this.agreement = agreement;
    }

    public Integer getIncomingAcceptance() {
        return incomingAcceptance;
    }

    public void setIncomingAcceptance(Integer incomingAcceptance) {
        this.incomingAcceptance = incomingAcceptance;
    }

    public Integer getMaterialAcceptance() {
        return materialAcceptance;
    }

    public void setMaterialAcceptance(Integer materialAcceptance) {
        this.materialAcceptance = materialAcceptance;
    }

    public String getSupplierCompanyName() {
        return supplierCompanyName;
    }

    public void setSupplierCompanyName(String supplierCompanyName) {
        this.supplierCompanyName = supplierCompanyName;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getPriceToSupplier() {
        return priceToSupplier;
    }

    public void setPriceToSupplier(Long priceToSupplier) {
        this.priceToSupplier = priceToSupplier;
    }

    public Long getPriceToPurchaser() {
        return priceToPurchaser;
    }

    public void setPriceToPurchaser(Long priceToPurchaser) {
        this.priceToPurchaser = priceToPurchaser;
    }

    public Integer getPayStyle() {
        return payStyle;
    }

    public void setPayStyle(Integer payStyle) {
        this.payStyle = payStyle;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Long getRequirementId() {
        return requirementId;
    }

    public void setRequirementId(Long requirementId) {
        this.requirementId = requirementId;
    }

    public String getPurchaserId() {
        return purchaserId;
    }

    public void setPurchaserId(String purchaserId) {
        this.purchaserId = purchaserId;
    }
}
